package com.yc.sole.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.sole.common.domain.StateCountResp;
import com.yc.sole.erp.entity.Output;
import com.yc.sole.erp.request.OutputQueryReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper数据操作类
 *
 * @author yizuomin
 * @date 2024-01-15
 **/
public interface OutputMapper extends BaseMapper<Output> {

    /**
     * 查询班次数量
     *
     * @return
     */
    List<StateCountResp> selectShiftCount(@Param("bean") OutputQueryReq queryReq);

    /**
     * 查询当前查询条件的总产量
     *
     * @param queryReq
     * @return
     */
    List<StateCountResp> selectOutputQuantity(@Param("bean") OutputQueryReq queryReq);
}
